let computed = {
  // 搜索配置参数
  searchList() {
    let normalTurnoverBatchCol = [
      {
        prop: 'number',
        label: '周转码',
        noCheck: true,
        colConfig: {
          sortable: 'custom',
          minWidth: 240,
          align: 'left',
          fixed: 'left',
        }
      },
      {
        prop: 'turnoverProcessStatusLabel',
        label: '周转进度',
        filterAble: true,
        noCheck: true,
        searchConfig: {
          name: 'turnoverProcessStatusId',
          type: 'select',
          dict: 'batchProcessStatus',
          multiple: true
        },
        colConfig: {
          sortable: false,
          minWidth: 140,
          comp: 'turnoverProgressStatus',
          fixed: 'left',
        }
      },
      {
        prop: 'turnoverStatusLabel',
        label: '周转状态',
        filterAble: true,
        noCheck: true,
        searchConfig: {
          name: 'turnoverStatusId',
          type: 'select',
          dict: 'batchStatus',
          multiple: true
        },
        colConfig: {
          sortable: false,
          minWidth: 110,
          comp: 'turnoverStatus',
          fixed: 'left',
        }
      },
      {prop: 'serialNumber', label: '序列号', colConfig: {minWidth: 180, align: 'left', sortable: false}},
      {
        prop: 'createDate',
        label: '周转码创建时间',
        noCheck: true,
        noSearch: true,
        searchConfig: {
          name: 'createDate',
          type: 'date'
        },
        colConfig: {
          minWidth: 160,
          sortable: 'custom',
          format: 'YYYY-MM-DD hh:mm:ss',
        }
      },
      {
        prop: 'weekPlanName',
        label: '关联周计划',
        noCheck: true,
        noSearch: true,
        colConfig: {
          width: 240,
          sortable: 'custom',
        }
      },
      {
        prop: 'productionQuantity',
        label: '计划数量',
        noCheck: true,
        noSearch: true,
        colConfig: {
          minWidth: 100,
          sortable: 'custom',
        }
      },
      {
        prop: 'trackDemandLabel',
        label: '追溯要求',
        noCheck: true,
        noSearch: true,
        colConfig: {
          minWidth: 100,
          sortable: 'custom',
        }
      },
      {
        prop: 'planStartDate',
        label: '计划开始时间',
        noCheck: true,
        noSearch: true,
        searchConfig: {
          name: 'planStartDate',
          type: 'date'
        },
        colConfig: {
          minWidth: 140,
          sortable: 'custom',
          formatToDay: true,
        }
      },
      {
        prop: 'planEndDate',
        label: '计划完成时间',
        noCheck: true,
        noSearch: true,
        searchConfig: {
          name: 'planEndDate',
          type: 'date'
        },
        colConfig: {
          minWidth: 140,
          sortable: 'custom',
          formatToDay: true,
        }
      },
      {
        prop: 'practicalStartDate',
        label: '实际开始时间',
        noCheck: true,
        noSearch: true,
        searchConfig: {
          name: 'practicalStartDate',
          type: 'date'
        },
        colConfig: {
          minWidth: 180,
          sortable: 'custom',
          format: 'YYYY-MM-DD hh:mm:ss',
        }
      },
      {
        prop: 'practicalEndDate',
        label: '实际完成时间',
        noCheck: true,
        noSearch: true,
        searchConfig: {
          name: 'practicalEndDate',
          type: 'date'
        },
        colConfig: {
          minWidth: 180,
          sortable: 'custom',
          format: 'YYYY-MM-DD hh:mm:ss',
        }
      },
      {
        prop: 'currentWorkstageNames',
        label: '当前工序',
        noCheck: true,
        noSearch: true,
        colConfig: {
          minWidth: 100,
          sortable: 'custom',
        }
      },
      {
        prop: 'taskTypeLabel',
        label: '任务类型',
        noCheck: true,
        searchConfig: {
          type: 'select',
          dict: 'turnoverTaskType',
        },
        colConfig: {
          sortable: 'custom',
          minWidth: 120,
          comp: 'taskType',
          align: 'left',
        }
      },
      {
        prop: 'completeQuantity',
        label: '完工数量',
        noCheck: true,
        noSearch: true,
        colConfig: {
          minWidth: 80,
          sortable: 'custom',
        }
      },
    ]
    return normalTurnoverBatchCol
  },
  // 列循环
  columnList() {
    return this.searchList.filter(item => item.noForCol !== true)
  },
}
export default computed
